package com.zhentao.mapper;

import com.zhentao.model.admin.rbac.SysPermission;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
* @author lenovo
* @description 针对表【sys_permission(系统权限)】的数据库操作Mapper
* @createDate 2024-12-26 19:14:23
* @Entity com.zhentao.model.admin.rbac.SysPermission
*/
public interface SysPermissionMapper extends BaseMapper<SysPermission> {


    List<SysPermission> selectMenuByUserIds(@Param("userId") String id);

    List<SysPermission> getAllByPerId(@Param("id") String id);

    List<SysPermission> selectUserIsPerms(@Param("perms") String perms,@Param("id") String id);
}




